package com.awesome.spring.service;

import com.awesome.spring.bean.Order;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * OrderService
 *
 * @author alex
 * @date 2022/07/07
 */

public interface OrderService extends IService<Order> {

    void create(String userId, int money, boolean rollback);

    void saveInTransaction(Order order);
}
